﻿#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
void StackTest()
{
	ST  st;
	STInit(&st);
	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);
	STPush(&st, 5);
	printf("top:%d\n", STTop(&st));
	STPop(&st);
	printf("top:%d\n", STTop(&st));
	STDestroy(&st);
}
int main()
{
	StackTest();
	return 0;
}